﻿<Page
    x:Class="App25.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App25"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Page.BottomAppBar>
        <CommandBar IsSticky="True" IsOpen="True">
            <AppBarButton Label="Ornament" Icon="Add">
                <AppBarButton.Flyout>
                    <MenuFlyout>
                        <MenuFlyoutItem Text="Yellow" Click="AddYellow"/>
                        <MenuFlyoutItem Text="Red" Click="AddRed"/>
                        <MenuFlyoutItem Text="Blue" Click="AddBlue"/>
                    </MenuFlyout>
                </AppBarButton.Flyout>
            </AppBarButton>
            <AppBarSeparator/>
            <AppBarButton Label="Snapshot" Click="Snapshot" Icon="Camera"/>
        </CommandBar>
    </Page.BottomAppBar>

    <Grid Background="#FF003AFF">
        <Grid x:Name="TreeContainer" HorizontalAlignment="Left" Height="659" Margin="97,45,0,0" VerticalAlignment="Top" Width="506" Background="#FF00A2FF">
            <Path Data="M182.104,578.881 C182.104,578.881 298.571,583.211 300.015,578.881 C301.508,574.403 288.075,444.536 288.075,444.536 L165.687,437.073" Fill="#FFAA5813" HorizontalAlignment="Left" Height="144.715" Margin="165.187,436.59,0,0" Stretch="Fill" Stroke="Black" UseLayoutRounding="False" VerticalAlignment="Top" Width="135.444"/>
            <Path Data="M229.866,72.9104 L132.851,240.075 L170.164,240.075 L80.6119,363.955 L159.716,375.895 L91.0596,465.446 L394.045,490.819 L337.328,362.461 L398.522,353.506 L292.552,220.671 L358.224,198.283 z" Fill="#FF44C537" HorizontalAlignment="Left" Height="418.911" Margin="80.112,72.41,0,0" Stretch="Fill" Stroke="Black" UseLayoutRounding="False" VerticalAlignment="Top" Width="318.91"/>
        </Grid>

    </Grid>
</Page>
